<template>
    <van-action-bar>
        <van-action-bar-icon icon="chat-o" text="客服" color="#ee0a24" />
        <van-action-bar-icon icon="cart-o" text="购物车" />
        <van-action-bar-icon icon="star" text="已收藏" color="#ff5000" />
        <van-action-bar-button type="warning" text="商品结算" @click="tiao"/>
        <van-action-bar-button type="danger" text="立即购买" />
    </van-action-bar>
</template>

<script setup>
import { useRouter } from 'vue-router';
let router=useRouter()
let tiao=()=>{
   router.push('/cart') 
}
</script>

<style lang="scss" scoped></style>